names=["梁凯","梁发毅","曹海玲"]
message="，今晚来我家吃饭"
popper_names=names.pop(0)
names.insert(0,"梁发彪")
names.insert(0,"娜")
names.insert(2,"玩")
names.append("酥")
ungoing=f"{names.pop(0)},{names.pop(1)},{names.pop(2)},{names.pop(-1)}"
print(names[0] + message)
print(names[1] + message)
munber=len(names)
print(f"一共邀请了{munber}个人")
print(f"{ungoing},sorry")
print("我只能邀请两个人来和我吃晚餐" )
del names[0]
del names[0]
print(names)